package com.lancoo.cvas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 教师规则
 *
 * @author liufeng
 * @email 1037383243@qq.com
 * @date 2023-12-04 11:54:01
 */
@Data
@Accessors(chain = true)
@TableName("rule_teacher_time")
@ApiModel("教师规则")
public class RuleTeacherTime implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 教师规则
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("教师规则id")
    private Integer id;
    /**
     * 任务id
     */
    @ApiModelProperty("任务id")
    private Integer taskId;
    /**
     * 教师id
     */
    @ApiModelProperty("教师id")
    private Long teacherId;
    /**
     *
     */
    @ApiModelProperty("课时编码")
    private String timeCode;
    /**
     * 0：尽量排(优先排)；1：固排（一定排）；2：禁排
     */
    @ApiModelProperty("0：尽量排(优先排)；1：固排（一定排）；2：禁排")
    private Integer flag;
    /**
     * 学校id
     */
    @ApiModelProperty("学校id")
    private String schoolId;
    /**
     * 学期
     */
    @ApiModelProperty("学期")
    private String term;
    /**
     * 删除标识：
     * 0：未删除
     * 1：删除
     */
    @ApiModelProperty("删除标识")
    private Integer deleted;
    /**
     *
     */
    private String reserve;

}
